package com.shou.domain.park.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shou.domain.common.IBaseService;
import com.shou.domain.common.PageQueryEntity;
import com.shou.domain.park.model.ParkingSpaceEntity;


/**
* @author Nemo
* @description 针对表【parkingspaces(车位表，记录每个车位的状态和相关信息)】的数据库操作Service
* @createDate 2025-02-07 22:10:51
*/
public interface IParkingSpaceService extends IBaseService {
    /**
     * 增加车位
     */
    void insertParkingSpace(ParkingSpaceEntity parkingSpace);

    /**
     * 根据ID查询车位
     */
    ParkingSpaceEntity getParkingSpaceById(Integer id);

    /**
     * 分页查询车位
     */
    IPage<ParkingSpaceEntity> pageQuery(PageQueryEntity pageQueryEntity);

    /**
     * 更新车位
     */
    void updateParkingSpaceById(ParkingSpaceEntity parkingSpaceEntity);
}
